SystemInfo

SystemInfo peripheral interface for Drone and RemoteControl devices.

Allows to:

  • Retrieve info about the device, such as firmware and hardware version, serial number, CPU identifier.
  • Perform system action on the device, such as factory reset, and resetting settings to their built-in defaults.
This peripheral can be obtained from a peripheral providing device (such as a drone or a remote control) using:
device.getPeripheral(SystemInfo.class)

See also

Peripheral.Provider

Functions

Link copied to clipboard
abstract fun factoryReset(): Boolean
Commands the device to perform a factory reset.
Link copied to clipboard
Gets the device board identifier.
Link copied to clipboard
Gets the identifier of the main CPU on the device.
Link copied to clipboard
Gets the device firmware version.
Link copied to clipboard
Gets the device hardware version.
Link copied to clipboard
Gets the device serial number.
Link copied to clipboard
Tells whether a factory reset is currently occurring on the device.
Link copied to clipboard
Tells whether the device firmware version is blacklisted.
Link copied to clipboard
Tells whether a settings reset operation is currently occurring on the device.
Link copied to clipboard
abstract fun isUpdateRequired(): Boolean
Tells whether an update is required.
Link copied to clipboard
abstract fun resetSettings(): Boolean
Commands the device to reset its settings to their built-in defaults.